//
//  TradeOrderRequest.swift
//  Exchange
//
//  Created by 孟祥群 on 2018/7/2.
//  Copyright © 2018年 common. All rights reserved.
//

import UIKit

class TradeOrderRequest: BaseRequest {
    var isMarketBool = false
    override func path() -> String {
        if isMarketBool {
            return Api.Exchange.tradeMarket
        }
        return Api.Exchange.tradeOrder
    }
    override func method() -> HTTPMethodType {
        return .post
    }
    override func openIndicator() -> Bool {
        return true
    }

}
